<%@ page pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path=request.getContextPath();
%>
<html lang="en">
<head>
    <style>
        a{
            color: black;
        }
        body{
            background: linear-gradient(100deg,#a29bfe,#fd79a8);
        }
        .login{
            width: 600px;
            height: 400px;
            background: rgba(255,255,255,0.6);
            position: absolute;
            border-radius: 10px;
            left: 50%;
            right: 50%;
            margin-left: -320px;
            margin-top: 80px;
            display: flex;
        }
        .left{
            width: 200px;
            height: 400px;
            background-size: cover;
            opacity: 0.6;
        }
        .right{
            width: 400px;
            height: 400px;
            display: flex;
            flex-direction: column;
            align-content: center;
            background: white;
        }
        .right h1{
            margin-top: 20px;
            text-align: center;
        }
        .right .userinfo{
            width: 280px;
            height: 20px;
            padding: 10px;
            margin: 30px 30px;
            border: none;
            font-size: 20px;
            border-bottom: 1px solid black;
            outline: none;
        }
        .right .submit{
            width: 200px;
            height: 40px;
            background: linear-gradient(100deg,#a29bfe,#fd79a8);
            transform: translateX(50px);
            margin-top: 10px;
            align-self: center;
            border-radius: 5px;
            border: none;
            font-size: 30px;
            color: white;
            cursor: pointer;
            box-shadow: 5px 5px 5px #888888;
        }
        .right .submit:hover{
            opacity: 80%;
        }
        .help{
            width: 300px;
            display: flex;
            margin-top: 30px;
            justify-content: space-between;
            transform: translateX(50px);
        }
    </style>
    <title>登录</title>
</head>
<body>
<div class="login">
    <div class="left"></div>
    <div class="right">
        <form action="login" method="post">
            <h1>Login</h1>
            <input class="userinfo" name="username" type="text" placeholder="用户名" />
            <input class="userinfo" name="password" type="password" placeholder="密码" />
            <input class="submit" type="submit" value="登录">
        </form>
        <div class="help">
            <a href="#" >注册</a>
            <a href="#">找回密码</a>
        </div>
    </div>
</div>
</body>
</html>
